package my.mall.front.api.pojo.user

import jakarta.validation.constraints.Max
import jakarta.validation.constraints.Min
import jakarta.validation.constraints.NotNull
import kotlin.properties.Delegates

class UserParam {
    var phoneNum: @NotNull @Min(value = 10000000000L, message = "请输入正确电话号码") @Max(
        value = 19999999999L,
        message = "请输入正确电话号码"
    ) Long by Delegates.notNull()
    var code: Int? = null
}
